package com.lt;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author lucine
 * @version 1.0 2021/5/23 16:27
 */
public class LogBackDemo {

    public static  final Logger LOGGER = LoggerFactory.getLogger(LogBackDemo.class);

    @Test
    public void testQuick(){
        //日志输出
        LOGGER.error("error");
        LOGGER.warn("warn");
        LOGGER.info("info");
        //默认级别
        LOGGER.debug("debug");
        LOGGER.trace("trace");


    }
}
